package com.itheima.mapper;

import com.itheima.dto.EmpListDto;
import com.itheima.pojo.Emp;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface EmpMapper {
    Emp getInfo(Integer id);

    List<Emp> list(EmpListDto empListDto);

    void insert(Emp emp);

    void deleteByIds(List<Integer> ids);

    void update(Emp emp);

    Emp getUsernameAndPassword(Emp emp);
}
